<?php
/**
 * Magento Enterprise Edition
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Magento Enterprise Edition End User License Agreement
 * that is bundled with this package in the file LICENSE_EE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.magento.com/license/enterprise-edition
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     default_default
 * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
 * @license http://www.magento.com/license/enterprise-edition
 */

/**
 * @var $this Enterprise_Staging_Block_Adminhtml_Log_View_Information_Staging
 */
?>
<div class="information-create">
    <div class="box-left">
        <div class="entry-edit">
            <div class="entry-edit-head">
                <h4><?php echo Mage::helper('enterprise_staging')->__('Website Mapping') ?></h4>
            </div>
            <div class="fieldset">
                <div class="hor-scroll">
                    <table cellspacing="0" class="form-list">
                    <tr>
                        <td><?php echo $this->getMasterWebsiteName() ?></td>
                        <td>&nbsp;-&gt;&nbsp;<?php echo $this->getStagingWebsiteName() ?></td>
                    </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="entry-edit">
            <div class="entry-edit-head">
                <h4><?php echo Mage::helper('enterprise_staging')->__('Store View Mapping') ?></h4>
            </div>
            <div class="fieldset">
                <div class="hor-scroll">
                    <table cellspacing="0" class="form-list">
                    <?php $_map = $this->getCreateStoreViewsMap() ?>
                    <?php if (is_string($_map)): ?>
                    <tr>
                        <td><?php echo $_map ?></td>
                    </tr>
                    <?php else:?>
                    <?php foreach ($_map as $view): ?>
                    <tr>
                        <td><?php echo $view['name'] ?></td>
                    </tr>
                    <?php endforeach; ?>
                    <?php endif; ?>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="box-right">
        <div class="entry-edit">
            <div class="entry-edit-head">
                <h4 class="icon-head head-account"><?php echo Mage::helper('enterprise_staging')->__('Items') ?></h4>
            </div>
            <div class="fieldset">
                <div class="hor-scroll">
                    <table cellspacing="0" class="form-list">
                    <?php $_items = $this->getItems() ?>
                    <?php if (is_array($_items)) :?>
                    <?php foreach ($this->getItems() as $item): ?>
                    <tr>
                        <td colspan="2"><?php echo $item['label']?></td>
                    </tr>
                    <?php endforeach; ?>
                    <?php else:?>
                    <tr>
                        <td colspan="2"><?php echo $_items?></td>
                    </tr>
                    <?php endif; ?>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
